package com.jdz.gxq.info.admin.role.form;

import org.apache.struts.action.ActionForm;

import com.jdz.gxq.info.admin.role.bo.User;

public class UserForm extends ActionForm {

	private static final long serialVersionUID = 1L;

	private int id = 0;
	
	private String name;
	
	private int pageIndex;
	
	// 一定要new
	private User user = new User();

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public int getPageIndex() {
		return pageIndex;
	}

	public void setPageIndex(int pageIndex) {
		this.pageIndex = pageIndex;
	}
}
